package com.sqlcheck.dto.request;

import com.sqlcheck.entity.SqlStatement;
import lombok.Builder;
import lombok.Data;

@Data
@Builder
public class SqlStatementQueryDTO {
    @Builder.Default
    private Integer current = 1;
    @Builder.Default
    private Integer size = 20;
    private Long taskId;
    private SqlStatement.SqlType sqlType;
    private SqlStatement.DdlType ddlType;
    private SqlStatement.SourceType sourceType;
    private SqlStatement.JavaAnnotationType javaAnnotationType;
    private SqlStatement.MybatisXmlElement mybatisXmlElement;
    private String tableName;
    private String sourceFile;
    private String keyword;
}